#!/usr/bin/python3

import turtle

myscreen = turtle.Screen()
myturtle = turtle.Turtle()

def draw_square(side):
    for count in range(4):
        myturtle.forward(side)
        myturtle.left(90)

myscreen.bgcolor("blue")
myturtle.pencolor("red")
myturtle.pensize(3)

for count in range(6):
    draw_square(50)
    myturtle.left(60)

myscreen.exitonclick()